home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / laptop-mode / conf.d / lcd-brightness.conf < prev    next >
Text File  |  2008-10-24  |  2KB  |  62 lines

  1. #
  2. # Configuration file for Laptop Mode Tools module lcd-brightness.
  3. #
  4. # For more information, consult the laptop-mode.conf(8) manual page.
  5. #
  6.  
  7.  
  8. ###############################################################################
  9. # LCD brightness settings
  10. # -----------------------
  11. #
  12. # Using these settings, you can make laptop mode tools automatically adjust
  13. # your LCD's brightness settings. The settings are extremely simple -- they
  14. # only allow for the execution of a command, nothing more. The reason for this
  15. # is that LCD brightness settings are very different between laptop vendors.
  16. #
  17. # Suggestions for commands:
  18. #
  19. #  * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
  20. #    be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
  21. #    the command "echo <value>". The possible values can be listed using the
  22. #    command:
  23. #
  24. #       cat /proc/acpi/video/VID/LCD/brightness
  25. #
  26. #  * If you have a file /sys/class/backlight/.../brightness, then you can use
  27. #    that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
  28. #
  29. #    As far as I understand it the values are between 0 and
  30. #    the value contained in the file /sys/class/backlight/.../max_brightness.
  31. #
  32. #  * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
  33. #    command. Read the toshset(1) manual page for more information on the
  34. #    parameters for this command. If you use this command, set
  35. #    BRIGHTNESS_OUTPUT to "/dev/null".
  36. #
  37. ###############################################################################
  38.  
  39. ###############################################################################
  40. #
  41. # IMPORTANT: In versions 1.36 and earlier, these settings were included in the
  42. # main laptop-mode.conf configuration file. If they are still present, they
  43. # overrule the settings in this file. To fix this, simply delete the settings
  44. # from the main config file.
  45. #
  46. ###############################################################################
  47.  
  48.  
  49. #
  50. # Should laptop mode tools control LCD brightness?
  51. #
  52. CONTROL_BRIGHTNESS=0
  53.  
  54.  
  55. #
  56. # Commands to execute to set the brightness on your LCD
  57. #
  58. BATT_BRIGHTNESS_COMMAND="echo [value]"
  59. LM_AC_BRIGHTNESS_COMMAND="echo [value]"
  60. NOLM_AC_BRIGHTNESS_COMMAND="echo [value]"
  61. BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
  62.